
//
//  WishTableViewCell.m
//  ForeverLove
//
//  Created by lanou3g on 15/11/13.
//  Copyright © 2015年 文萱竹. All rights reserved.
//

#import "WishTableViewCell.h"

@implementation WishTableViewCell

- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.myLabel = [[UILabel alloc] init];
        self.myImage = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myLabel];
        [self.contentView addSubview:self.myImage];
        
        self.myImage.frame = CGRectMake(CGRectGetMinX(self.frame), CGRectGetMinY(self.frame), 80, 80);
        self.myLabel.frame = CGRectMake(CGRectGetMaxX(self.myImage.frame) , CGRectGetMinY(self.frame), self.frame.size.width - 80, 80);
        
        self.hisLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.hisLabel];
        self.hisLabel.frame = CGRectMake(CGRectGetMinX(self.frame), CGRectGetMinY(self.frame), 80, 80);
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
